package com.xiaoyi.pdocrlibrary;

import android.graphics.Point;
import java.util.ArrayList;
import java.util.List;

public class OcrResultModel {
    private float confidence;
    private String label;
    private List<Point> points = new ArrayList();
    private List<Integer> wordIndex = new ArrayList();

    public void addPoints(int i, int i2) {
        this.points.add(new Point(i, i2));
    }

    public void addWordIndex(int i) {
        this.wordIndex.add(Integer.valueOf(i));
    }

    public List<Point> getPoints() {
        return this.points;
    }

    public List<Integer> getWordIndex() {
        return this.wordIndex;
    }

    public String getLabel() {
        return this.label;
    }

    public void setLabel(String str) {
        this.label = str;
    }

    public float getConfidence() {
        return this.confidence;
    }

    public void setConfidence(float f) {
        this.confidence = f;
    }
}
